Produced by Araxis Merge on 2024-03-04 14:38:52 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | /Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.7/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/html | header_custom_block_menu.phtml | 2023-03-15 04:49:30 +0000 |
| 2 | /Users/coca/Documents/www/Porto v4.0.2/Theme Files/Magento 2.x/Porto Theme v4.0.8/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/html | header_custom_block_menu.phtml | 2023-03-15 04:49:30 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 42 |
| Changed | 0 | 0 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | $_helper = $this->helper('Smartwave\Porto\Helper\Data'); | 2 | $_helper = $this->helper('Smartwave\Porto\Helper\Data'); | |||
| 3 | $header_type = $this->getConfig('porto_settings/header/header_type'); | 3 | $header_type = $this->getConfig('porto_settings/header/header_type'); | |||
| 4 | $static_block_id = ''; | 4 | $static_block_id = ''; | |||
| 5 | if($header_type == 14) { | 5 | if($header_type == 14) { | |||
| 6 | $static_block_id = $this->getConfig('porto_settings/header/header14_block'); | 6 | $static_block_id = $this->getConfig('porto_settings/header/header14_block'); | |||
| 7 | } | 7 | } | |||
| 8 | if($header_type == 15) { | 8 | if($header_type == 15) { | |||
| 9 | $static_block_id = $this->getConfig('porto_settings/header/header15_block'); | 9 | $static_block_id = $this->getConfig('porto_settings/header/header15_block'); | |||
| 10 | } | 10 | } | |||
| 11 | if($header_type == 23) { | 11 | if($header_type == 23) { | |||
| 12 | $static_block_id = $this->getConfig('porto_settings/header/header_bottom_block'); | 12 | $static_block_id = $this->getConfig('porto_settings/header/header_bottom_block'); | |||
| 13 | } | 13 | } | |||
| 14 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | 14 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | |||
| 15 | if($block && $static_block_id) { | 15 | if($block && $static_block_id) { | |||
| 16 | $block->setBlockId($static_block_id); | 16 | $block->setBlockId($static_block_id); | |||
| 17 | } | 17 | } | |||
| 18 | if($block && $static_block_id){ | 18 | if($block && $static_block_id){ | |||
| 19 | echo $block->toHtml(); | 19 | echo $block->toHtml(); | |||
| 20 | } | 20 | } | |||
| 21 | ?> | 21 | ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.